package com.zmn.oms.model.dto.work.modify.must;

import com.zmn.oms.model.dto.remark.OrderRemarkDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * 类描述：取消申请DTO
 *
 * @author  liuying
 * @date   2021/11/17 14:39
 */
@Data
@ToString(callSuper = true)
public class CancelApplyDTO extends OrderRemarkDTO {
    /**
     * 订单Id
     */
    @ApiModelProperty(value = "订单Id", required = true)
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @ApiModelProperty(value = "工单Id", required = true)
    @NotNull(message = "工单ID不能为空")
    private Long workId;

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 取消原因
     */
    @ApiModelProperty("取消原因")
    private String remark;

    /**
     * 取消缘由ID
     */
    @ApiModelProperty("取消缘由ID")
    private List<Integer> reasonIdList;

    /**
     * 源单号
     */
    @ApiModelProperty("源单号")
    private Long originalCode;

    /**
     * 取消入口 90 短信取消
     */
    private Integer entranceId;
}
